#ifndef IDDIALOG_H
#define IDDIALOG_H

#include <QDialog>
#include<QtSql>
namespace Ui {
class IDDialog;
}

class IDDialog : public QDialog
{
    Q_OBJECT
signals:
    //传name,id
    void sendData(QString data,QString data2);
public:
    explicit IDDialog(QWidget *parent = 0);
    ~IDDialog();

private:
    Ui::IDDialog *ui;
    QSqlDatabase db;

private slots:
    void react();
};

#endif // IDDIALOG_H
